<?php
/**
 * Clase FN para SoOrdenLineaFN
 *
 * @package    
 * @subpackage SoOrdenLineaFN
 * @author     hans
 * @version    SVN:: SoOrdenLineaFN.class.php,v 1.1 2012-05-07 00:52:56 Hans.parra Exp $
 */

require_once('class/common/conexion.php');
require_once('class/so/ordenes/BFN/BaseSoOrdenLineaFN.class.php');
require_once('class/im/articulos/FN/ImArticuloFN.class.php');

class SoOrdenLineaFN extends BaseSoOrdenLineaFN
{

  public function selectSoOrdenItemDetalle()
  {
    $o_SoOrdenLineaFN = $this->select();
		if($o_SoOrdenLineaFN)
		{
			foreach ($o_SoOrdenLineaFN as $key => $obj)
			{
				/*detalle de Articulo*/
				$o_ImArticuloFN = new ImArticuloFN();
				$o_ImArticuloFN->setArticuloId($obj->getArtId());
				$obj->set_oDetalleItemBean($o_ImArticuloFN->selectByPK());
			}
		}
	return $o_SoOrdenLineaFN;
  }

}